// written by Adam Barrer and Alex Keybl

#include "event.h"

Event::Event(){
	
}

Event::Event(int day, double start, double end, const string& description)
: myDate(day), 
  myStart(start), 
  myEnd(end),
  myDescription(description),
  allDay(false)
  {
	
}

Event::Event(int day, const string& description)
: myDate(day),
  myDescription(description),
  allDay(true)
{
	myStart = 0;
	myEnd = 23;
}

int Event::getDay(){
	return myDate;	
}	
		
double Event::getStart(){
	return myStart;
}	
		
double Event::getEnd(){
	return myEnd;
}	
		
string Event::getDescription(){
	return myDescription;
}	

bool Event::isAllDay(){
	return allDay;
}

	